package com.zzl.admin.extendsp;

/**
 * description: 派生类
 * @author 朱正磊
 * @date 2023-04-18 13:31:49
 */
public class Student extends Person {

    public Student() {
        super("zhangsan");
        System.out.println("Student无参构造执行了");
    }

    private String name = "zzl";

    public void test(String name) {
        System.out.println(name);
        System.out.println(this.name);
        System.out.println(super.name);
    }

}
